package cn.xiaopengstack.infrastructure.dao;

import cn.xiaopengstack.infrastructure.dao.po.AiClientModel;
import org.apache.ibatis.annotations.Param;

/**
* @author jiangyangang
* @description 针对表【ai_client_model(聊天模型配置表)】的数据库操作Mapper
* @createDate 2025-08-29 15:15:19
* @Entity cn.xiaopengstack.infrastructure.dao.po.AiClientModel
*/
public interface AiClientModelMapper {

    int deleteByPrimaryKey(Long id);

    int insert(AiClientModel record);

    int insertSelective(AiClientModel record);

    AiClientModel selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AiClientModel record);

    int updateByPrimaryKey(AiClientModel record);

    /**
     * 查询对话模型配置
     * @param modelId
     * @return
     */
    AiClientModel queryByModelId(@Param("modelId") String modelId);
}
